/**
 * @author Nie ZhiPeng
 */
public class ChildrenClass extends SuperClass implements ChildrenInterface{
    private static int childrenStaticField = 10;
    private        int childrenInstantField = 20;

    public ChildrenClass(int childrenInstantField) {
        this.childrenInstantField = childrenInstantField;
    }

    public static int getChildrenStaticField() {
        return childrenStaticField;
    }

    public static void setChildrenStaticField(int childrenStaticField) {
        ChildrenClass.childrenStaticField = childrenStaticField;
    }

    public int getChildrenInstantField() {
        return childrenInstantField;
    }

    public void setChildrenInstantField(int childrenInstantField) {
        this.childrenInstantField = childrenInstantField;
    }

    @Override
    public boolean printChildren() {
        System.out.println(childrenInstantField);
        return true;
    }
}
